package com.dangdang.dao;

import com.dangdang.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {
    //通过邮箱和密码查找用户
    User selectByEmailAndPwd(@Param("email") String email, @Param("pwd") String pwd);
    void insert(@Param("user") User user);
    User selectByEmail(String email);
}
